﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Foundation.OperationLogTemplates.Repository
{
    public interface IOperationLogTemplateRepository : IRepository<OperationLogTemplate, Guid>
    {
        Task<OperationLogTemplate> FindAsync(string code);

        Task<List<OperationLogTemplate>> GetPagedListAsync(int skipCount, int maxResultCount, string sorting, string code, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken));

        Task<long> GetCountAsync(string code, CancellationToken cancellationToken = default(CancellationToken));
    }
}
